﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain
{
    public class BaseEntity
    {
        protected BaseEntity()
        {
            IsDelete = 0;
        }

        public string Id { set; get; }
        /// <summary>
        /// 创建用户
        /// </summary>
        public string CreateUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 最后更新用户
        /// </summary>
        public string UpdateUserId { get; set; }
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 删除标识
        /// </summary>
        public int IsDelete { get; set; }
    }
}
